package org.dey.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dey.entity.Result;
import org.dey.pojo.PageVo;
import org.dey.pojo.RiskAssessment;

public interface RiskAssessmentService extends IService<RiskAssessment> {
    //根据id查
    public RiskAssessment queryRaById(int raidd);

    //查所有
    PageVo<RiskAssessment> queryRa(RiskAssessment riskAssessment, int pageNum, int pagesize);

    //删除
    public Result deleteRa(int raidd);

    public Result addRa(RiskAssessment riskAssessment);

    public int updateRa(RiskAssessment riskAssessment);

}
